package entities;

import java.io.Serializable;
import java.util.Date;

import basic.BaseEntity;
import basic.FieldMeta;

public class TRole extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@FieldMeta(primary = true, name = "角色编号", description = "角色编号", column = "rol_no", require = true, range = true, length = 32, order = 0)
	private String rolNo;

	public String getRolNo() {
		return rolNo;
	}

	public void setRolNo(String rolNo) {
		this.rolNo = rolNo;
	}

	@FieldMeta(name = "角色名称", description = "角色名称", column = "rol_name", require = true, length = 50, order = 1)
	private String rolName;

	public String getRolName() {
		return rolName;
	}

	public void setRolName(String rolName) {
		this.rolName = rolName;
	}

	@FieldMeta(name = "状态", description = "状态", column = "rol_state", require = true, length = 1, order = 2)
	private String rolState;

	public String getRolState() {
		return rolState;
	}

	public void setRolState(String rolState) {
		this.rolState = rolState;
	}

	@FieldMeta(name = "创建日期", description = "创建日期", column = "rol_date", require = true, range = true, order = 3)
	private Date rolDate;

	public Date getRolDate() {
		return rolDate;
	}

	public void setRolDate(Date rolDate) {
		this.rolDate = rolDate;
	}

	@FieldMeta(name = "备注", description = "备注", column = "rol_remark", length = 100, order = 4)
	private String rolRemark;

	public String getRolRemark() {
		return rolRemark;
	}

	public void setRolRemark(String rolRemark) {
		this.rolRemark = rolRemark;
	}
}